import { WeaTools } from 'ecCom';

// 协作 - 协作申请 - 列表
export const getCoworkApplyPageList = params => WeaTools.callApi('/api/cowork/apply/getCoworkApplyPageList', 'GET', params);

// 协作 - 协作申请 - 高级查询条件
export const getCoworkApplyPageCondition = params => WeaTools.callApi('/api/cowork/apply/getCoworkApplyPageCondition', 'GET', params);

// 协作 - 协作申请 - 批量申请、申请加入
export const coworkApplayInfo = params => WeaTools.callApi('/api/cowork/apply/coworkApplayInfo', 'POST', params);

// 协作 - 协作申请 - 批量批准、批量拒绝
export const coworkApplayApproveInfo = params => WeaTools.callApi('/api/cowork/apply/coworkApplayApproveInfo', 'POST', params);

// 协作 - 协作申请 - 获取申请审批总数量
export const getCoworkApplyPageTopCounts = params => WeaTools.callApi('/api/cowork/apply/getCoworkApplyPageTopCounts', 'GET', params);
